package com.itheima.dao;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.itheima.po.UploadFile;

/**
 * Customer接口文件
 */
public interface UploadFileDao {
	public UploadFile findUploadFileById(@Param("id") Integer id);//根据用户id查询信息
	public List<UploadFile> findAllUploadFile();//查询所有信息
	public List<UploadFile> findByCondition(String filename);//模糊查询信息
	public int addFile(UploadFile uploadFile);//添加信息
	public int updateUploadFile(UploadFile uploadfile);//更新信息
	public int deleteFile(@Param("id") Integer id);//删除信息
}
